home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / MacPNG Library 1.02 / pngMacSrc 1.02 / png.1 / ptot / makefile.sunos < prev    next >
Encoding:
Makefile  |  1995-08-17  |  502 b   |  36 lines  |  [TEXT/CWIE]

  1. # Makefile for Sun OS/GCC
  2. #
  3.  
  4. CC = gcc -ansi
  5. LN = gcc
  6. OBJS = ptot.o zchunks.o tiff.o crc32.o tempfile.o inflate.o
  7. MATHLIB = /usr/lib/libm.a
  8.  
  9. .c.o:
  10.     $(CC) -D_SPARC_ $(CFLAGS) -c $*.c
  11. #
  12. #
  13.  
  14. all: ptot
  15.  
  16. clean:
  17.     rm ptot *.o *.tmp
  18.  
  19. ptot: $(OBJS)
  20.     $(LN) $(LDFLAGS) -o ptot $(OBJS) $(MATHLIB)
  21.  
  22. mp.o: mp.c ptot.h
  23.  
  24. ptot.o: ptot.c ptot.h errors.h
  25.  
  26. zchunks.o: zchunks.c ptot.h errors.h
  27.  
  28. tempfile.o: tempfile.c ptot.h errors.h
  29.  
  30. tiff.o: tiff.c ptot.h errors.h
  31.  
  32. crc32.o: crc32.c
  33.  
  34. inflate.o: inflate.c inflate.h ptot.h
  35.  
  36.